#if MYCODE
using BepuUtilities.Vectors;
#else
using System.Numerics;
#endif
namespace DemoRenderer.ShapeDrawing
{
    /// <summary>
    /// 渲染单个球体实例的GPU相关信息。
    /// </summary>
    public struct SphereInstance
    {
        public Vector3 Position;
        public float Radius;
        public Vector3 PackedOrientation;
        public uint PackedColor;
    }
    /// <summary>
    /// 渲染单个胶囊实例的GPU相关信息。
    /// </summary>
    public struct CapsuleInstance
    {
        public Vector3 Position;
        public float Radius;
        public ulong PackedOrientation;
        public float HalfLength;
        public uint PackedColor;
    }
    /// <summary>
    /// 渲染单个圆柱体实例的GPU相关信息。
    /// </summary>
    public struct CylinderInstance
    {
        public Vector3 Position;
        public float Radius;
        public ulong PackedOrientation;
        public float HalfLength;
        public uint PackedColor;
    }

}
